import Vue from "vue";
import App from "./App.vue"

import router from "./router";

import {getLoginStorage, getAccountStorage, getPasswordStorage, getUsernameStorage} from "./saves/sessionStorage";

import 'animate.css';
import "./style/reset.css";
import Element from "element-ui"
import "element-ui/lib/theme-chalk/index.css"

Vue.config.productionTip = false;

Vue.use(Element);

Vue.prototype.isLogin = getLoginStorage();
Vue.prototype.username = getUsernameStorage();
Vue.prototype.account = getAccountStorage();
Vue.prototype.password = getPasswordStorage();

new Vue({
    el:"#app",
    render:h=>h(App),
    router:router,

})